<template>
  <div class="page-listnotice">
    <div class="titles">
      <vab-icon icon="information-line" />
      须知
    </div>
    <p v-for="(item, index) in contentArray" :key="index" class="content">
      {{ item }}
    </p>
  </div>
</template>

<script>
  export default {
    components: {},
    props: {
      contentArray: {
        type: [Array],
        default: () => {},
      },
    },
    data() {
      return {}
    },
  }
</script>

<style scoped lang="scss">
  .page-listnotice {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f3f5ff;
    border: 1px solid #ced5f7;
    border-radius: 6px;
    .titles {
      margin-bottom: 10px;
      font-weight: 600;
      color: #333;
      i {
        color: #5f78ed;
      }
    }
    .content {
      padding: 0;
      margin: 0;
      margin-top: 5px;
      color: #333;
    }
  }
</style>
